package com.zhanggm.springcloud.mongo.dao;

import com.zhanggm.springcloud.mongo.pojo.User;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface UserDao extends MongoRepository<User,String> {
    List<User> findByUsername(String username);
}
